
public abstract class Property extends Block{

	private String owner = null;
	private String propertyName = null;
	private boolean isOwned = false;
	private boolean isMortgaged = false;
	private int price;
	private TitleDeed titleDeed;
	private int ownerInt = -1;
	
	public void setOwner(String owner) {
		this.owner = owner;
	}

	public String getOwner() {
		return owner;
	}

	public void setOwned(boolean isOwned) {
		this.isOwned = isOwned;
	}

	public boolean isOwned() {
		return isOwned;
	}

	public void setMortgaged(boolean isMortgaged) {
		this.isMortgaged = isMortgaged;
	}

	public boolean isMortgaged() {
		return isMortgaged;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public int getPrice() {
		return price;
	}

	public void setTitleDeed(TitleDeed titleDeed) {
		this.titleDeed = titleDeed;
	}

	public TitleDeed getTitleDeed() {
		return titleDeed;
	}

	public void setOwnerInt(int ownerInt) {
		this.ownerInt = ownerInt;
	}

	public int getOwnerInt() {
		return ownerInt;
	}

	public void setPropertyName(String propertyName) {
		this.propertyName = propertyName;
	}

	public String getPropertyName() {
		return propertyName;
	}

}
